/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EshopCompanyExample extends BaseExample {
    /* @mbggenerated */
    protected String orderByClause;

    /* @mbggenerated */
    protected boolean distinct;

    /* @mbggenerated */
    protected List<Criteria> oredCriteria;

    /* @mbggenerated */
    public EshopCompanyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /* @mbggenerated */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /* @mbggenerated */
    public String getOrderByClause() {
        return orderByClause;
    }

    /* @mbggenerated */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /* @mbggenerated */
    public boolean isDistinct() {
        return distinct;
    }

    /* @mbggenerated */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /* @mbggenerated */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /* @mbggenerated */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /* @mbggenerated */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /* @mbggenerated */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /* @mbggenerated */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 对应数据库表 eshop_company
     *
     * @mbggenerated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdIsNull() {
            addCriterion("sale_eshop_id is null");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdIsNotNull() {
            addCriterion("sale_eshop_id is not null");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdEqualTo(Long value) {
            addCriterion("sale_eshop_id =", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdNotEqualTo(Long value) {
            addCriterion("sale_eshop_id <>", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdGreaterThan(Long value) {
            addCriterion("sale_eshop_id >", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sale_eshop_id >=", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdLessThan(Long value) {
            addCriterion("sale_eshop_id <", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdLessThanOrEqualTo(Long value) {
            addCriterion("sale_eshop_id <=", value, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdIn(List<Long> values) {
            addCriterion("sale_eshop_id in", values, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdNotIn(List<Long> values) {
            addCriterion("sale_eshop_id not in", values, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdBetween(Long value1, Long value2) {
            addCriterion("sale_eshop_id between", value1, value2, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andSaleEshopIdNotBetween(Long value1, Long value2) {
            addCriterion("sale_eshop_id not between", value1, value2, "saleEshopId");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIsNull() {
            addCriterion("register_time is null");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIsNotNull() {
            addCriterion("register_time is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeEqualTo(String value) {
            addCriterion("register_time =", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotEqualTo(String value) {
            addCriterion("register_time <>", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeGreaterThan(String value) {
            addCriterion("register_time >", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeGreaterThanOrEqualTo(String value) {
            addCriterion("register_time >=", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeLessThan(String value) {
            addCriterion("register_time <", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeLessThanOrEqualTo(String value) {
            addCriterion("register_time <=", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeLike(String value) {
            addCriterion("register_time like", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotLike(String value) {
            addCriterion("register_time not like", value, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeIn(List<String> values) {
            addCriterion("register_time in", values, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotIn(List<String> values) {
            addCriterion("register_time not in", values, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeBetween(String value1, String value2) {
            addCriterion("register_time between", value1, value2, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterTimeNotBetween(String value1, String value2) {
            addCriterion("register_time not between", value1, value2, "registerTime");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalIsNull() {
            addCriterion("register_capital is null");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalIsNotNull() {
            addCriterion("register_capital is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalEqualTo(String value) {
            addCriterion("register_capital =", value, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalNotEqualTo(String value) {
            addCriterion("register_capital <>", value, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalGreaterThan(String value) {
            addCriterion("register_capital >", value, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalGreaterThanOrEqualTo(String value) {
            addCriterion("register_capital >=", value, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalLessThan(String value) {
            addCriterion("register_capital <", value, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalLessThanOrEqualTo(String value) {
            addCriterion("register_capital <=", value, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalLike(String value) {
            addCriterion("register_capital like", value, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalNotLike(String value) {
            addCriterion("register_capital not like", value, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalIn(List<String> values) {
            addCriterion("register_capital in", values, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalNotIn(List<String> values) {
            addCriterion("register_capital not in", values, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalBetween(String value1, String value2) {
            addCriterion("register_capital between", value1, value2, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andRegisterCapitalNotBetween(String value1, String value2) {
            addCriterion("register_capital not between", value1, value2, "registerCapital");
            return (Criteria) this;
        }

        public Criteria andShareholdersIsNull() {
            addCriterion("shareholders is null");
            return (Criteria) this;
        }

        public Criteria andShareholdersIsNotNull() {
            addCriterion("shareholders is not null");
            return (Criteria) this;
        }

        public Criteria andShareholdersEqualTo(Integer value) {
            addCriterion("shareholders =", value, "shareholders");
            return (Criteria) this;
        }

        public Criteria andShareholdersNotEqualTo(Integer value) {
            addCriterion("shareholders <>", value, "shareholders");
            return (Criteria) this;
        }

        public Criteria andShareholdersGreaterThan(Integer value) {
            addCriterion("shareholders >", value, "shareholders");
            return (Criteria) this;
        }

        public Criteria andShareholdersGreaterThanOrEqualTo(Integer value) {
            addCriterion("shareholders >=", value, "shareholders");
            return (Criteria) this;
        }

        public Criteria andShareholdersLessThan(Integer value) {
            addCriterion("shareholders <", value, "shareholders");
            return (Criteria) this;
        }

        public Criteria andShareholdersLessThanOrEqualTo(Integer value) {
            addCriterion("shareholders <=", value, "shareholders");
            return (Criteria) this;
        }

        public Criteria andShareholdersIn(List<Integer> values) {
            addCriterion("shareholders in", values, "shareholders");
            return (Criteria) this;
        }

        public Criteria andShareholdersNotIn(List<Integer> values) {
            addCriterion("shareholders not in", values, "shareholders");
            return (Criteria) this;
        }

        public Criteria andShareholdersBetween(Integer value1, Integer value2) {
            addCriterion("shareholders between", value1, value2, "shareholders");
            return (Criteria) this;
        }

        public Criteria andShareholdersNotBetween(Integer value1, Integer value2) {
            addCriterion("shareholders not between", value1, value2, "shareholders");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationIsNull() {
            addCriterion("taxpayer_qualification is null");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationIsNotNull() {
            addCriterion("taxpayer_qualification is not null");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationEqualTo(String value) {
            addCriterion("taxpayer_qualification =", value, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationNotEqualTo(String value) {
            addCriterion("taxpayer_qualification <>", value, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationGreaterThan(String value) {
            addCriterion("taxpayer_qualification >", value, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationGreaterThanOrEqualTo(String value) {
            addCriterion("taxpayer_qualification >=", value, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationLessThan(String value) {
            addCriterion("taxpayer_qualification <", value, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationLessThanOrEqualTo(String value) {
            addCriterion("taxpayer_qualification <=", value, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationLike(String value) {
            addCriterion("taxpayer_qualification like", value, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationNotLike(String value) {
            addCriterion("taxpayer_qualification not like", value, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationIn(List<String> values) {
            addCriterion("taxpayer_qualification in", values, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationNotIn(List<String> values) {
            addCriterion("taxpayer_qualification not in", values, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationBetween(String value1, String value2) {
            addCriterion("taxpayer_qualification between", value1, value2, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andTaxpayerQualificationNotBetween(String value1, String value2) {
            addCriterion("taxpayer_qualification not between", value1, value2, "taxpayerQualification");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeIsNull() {
            addCriterion("court_notice is null");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeIsNotNull() {
            addCriterion("court_notice is not null");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeEqualTo(String value) {
            addCriterion("court_notice =", value, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeNotEqualTo(String value) {
            addCriterion("court_notice <>", value, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeGreaterThan(String value) {
            addCriterion("court_notice >", value, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeGreaterThanOrEqualTo(String value) {
            addCriterion("court_notice >=", value, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeLessThan(String value) {
            addCriterion("court_notice <", value, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeLessThanOrEqualTo(String value) {
            addCriterion("court_notice <=", value, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeLike(String value) {
            addCriterion("court_notice like", value, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeNotLike(String value) {
            addCriterion("court_notice not like", value, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeIn(List<String> values) {
            addCriterion("court_notice in", values, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeNotIn(List<String> values) {
            addCriterion("court_notice not in", values, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeBetween(String value1, String value2) {
            addCriterion("court_notice between", value1, value2, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtNoticeNotBetween(String value1, String value2) {
            addCriterion("court_notice not between", value1, value2, "courtNotice");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionIsNull() {
            addCriterion("court_decision is null");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionIsNotNull() {
            addCriterion("court_decision is not null");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionEqualTo(String value) {
            addCriterion("court_decision =", value, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionNotEqualTo(String value) {
            addCriterion("court_decision <>", value, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionGreaterThan(String value) {
            addCriterion("court_decision >", value, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionGreaterThanOrEqualTo(String value) {
            addCriterion("court_decision >=", value, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionLessThan(String value) {
            addCriterion("court_decision <", value, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionLessThanOrEqualTo(String value) {
            addCriterion("court_decision <=", value, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionLike(String value) {
            addCriterion("court_decision like", value, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionNotLike(String value) {
            addCriterion("court_decision not like", value, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionIn(List<String> values) {
            addCriterion("court_decision in", values, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionNotIn(List<String> values) {
            addCriterion("court_decision not in", values, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionBetween(String value1, String value2) {
            addCriterion("court_decision between", value1, value2, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andCourtDecisionNotBetween(String value1, String value2) {
            addCriterion("court_decision not between", value1, value2, "courtDecision");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoIsNull() {
            addCriterion("dishonest_info is null");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoIsNotNull() {
            addCriterion("dishonest_info is not null");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoEqualTo(String value) {
            addCriterion("dishonest_info =", value, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoNotEqualTo(String value) {
            addCriterion("dishonest_info <>", value, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoGreaterThan(String value) {
            addCriterion("dishonest_info >", value, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoGreaterThanOrEqualTo(String value) {
            addCriterion("dishonest_info >=", value, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoLessThan(String value) {
            addCriterion("dishonest_info <", value, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoLessThanOrEqualTo(String value) {
            addCriterion("dishonest_info <=", value, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoLike(String value) {
            addCriterion("dishonest_info like", value, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoNotLike(String value) {
            addCriterion("dishonest_info not like", value, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoIn(List<String> values) {
            addCriterion("dishonest_info in", values, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoNotIn(List<String> values) {
            addCriterion("dishonest_info not in", values, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoBetween(String value1, String value2) {
            addCriterion("dishonest_info between", value1, value2, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andDishonestInfoNotBetween(String value1, String value2) {
            addCriterion("dishonest_info not between", value1, value2, "dishonestInfo");
            return (Criteria) this;
        }

        public Criteria andGovChufaIsNull() {
            addCriterion("gov_chufa is null");
            return (Criteria) this;
        }

        public Criteria andGovChufaIsNotNull() {
            addCriterion("gov_chufa is not null");
            return (Criteria) this;
        }

        public Criteria andGovChufaEqualTo(String value) {
            addCriterion("gov_chufa =", value, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaNotEqualTo(String value) {
            addCriterion("gov_chufa <>", value, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaGreaterThan(String value) {
            addCriterion("gov_chufa >", value, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaGreaterThanOrEqualTo(String value) {
            addCriterion("gov_chufa >=", value, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaLessThan(String value) {
            addCriterion("gov_chufa <", value, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaLessThanOrEqualTo(String value) {
            addCriterion("gov_chufa <=", value, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaLike(String value) {
            addCriterion("gov_chufa like", value, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaNotLike(String value) {
            addCriterion("gov_chufa not like", value, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaIn(List<String> values) {
            addCriterion("gov_chufa in", values, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaNotIn(List<String> values) {
            addCriterion("gov_chufa not in", values, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaBetween(String value1, String value2) {
            addCriterion("gov_chufa between", value1, value2, "govChufa");
            return (Criteria) this;
        }

        public Criteria andGovChufaNotBetween(String value1, String value2) {
            addCriterion("gov_chufa not between", value1, value2, "govChufa");
            return (Criteria) this;
        }

        public Criteria andOperatingStateIsNull() {
            addCriterion("operating_state is null");
            return (Criteria) this;
        }

        public Criteria andOperatingStateIsNotNull() {
            addCriterion("operating_state is not null");
            return (Criteria) this;
        }

        public Criteria andOperatingStateEqualTo(String value) {
            addCriterion("operating_state =", value, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateNotEqualTo(String value) {
            addCriterion("operating_state <>", value, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateGreaterThan(String value) {
            addCriterion("operating_state >", value, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateGreaterThanOrEqualTo(String value) {
            addCriterion("operating_state >=", value, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateLessThan(String value) {
            addCriterion("operating_state <", value, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateLessThanOrEqualTo(String value) {
            addCriterion("operating_state <=", value, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateLike(String value) {
            addCriterion("operating_state like", value, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateNotLike(String value) {
            addCriterion("operating_state not like", value, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateIn(List<String> values) {
            addCriterion("operating_state in", values, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateNotIn(List<String> values) {
            addCriterion("operating_state not in", values, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateBetween(String value1, String value2) {
            addCriterion("operating_state between", value1, value2, "operatingState");
            return (Criteria) this;
        }

        public Criteria andOperatingStateNotBetween(String value1, String value2) {
            addCriterion("operating_state not between", value1, value2, "operatingState");
            return (Criteria) this;
        }

        public Criteria andTaxStateIsNull() {
            addCriterion("tax_state is null");
            return (Criteria) this;
        }

        public Criteria andTaxStateIsNotNull() {
            addCriterion("tax_state is not null");
            return (Criteria) this;
        }

        public Criteria andTaxStateEqualTo(String value) {
            addCriterion("tax_state =", value, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateNotEqualTo(String value) {
            addCriterion("tax_state <>", value, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateGreaterThan(String value) {
            addCriterion("tax_state >", value, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateGreaterThanOrEqualTo(String value) {
            addCriterion("tax_state >=", value, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateLessThan(String value) {
            addCriterion("tax_state <", value, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateLessThanOrEqualTo(String value) {
            addCriterion("tax_state <=", value, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateLike(String value) {
            addCriterion("tax_state like", value, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateNotLike(String value) {
            addCriterion("tax_state not like", value, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateIn(List<String> values) {
            addCriterion("tax_state in", values, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateNotIn(List<String> values) {
            addCriterion("tax_state not in", values, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateBetween(String value1, String value2) {
            addCriterion("tax_state between", value1, value2, "taxState");
            return (Criteria) this;
        }

        public Criteria andTaxStateNotBetween(String value1, String value2) {
            addCriterion("tax_state not between", value1, value2, "taxState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateIsNull() {
            addCriterion("nianbao_state is null");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateIsNotNull() {
            addCriterion("nianbao_state is not null");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateEqualTo(String value) {
            addCriterion("nianbao_state =", value, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateNotEqualTo(String value) {
            addCriterion("nianbao_state <>", value, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateGreaterThan(String value) {
            addCriterion("nianbao_state >", value, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateGreaterThanOrEqualTo(String value) {
            addCriterion("nianbao_state >=", value, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateLessThan(String value) {
            addCriterion("nianbao_state <", value, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateLessThanOrEqualTo(String value) {
            addCriterion("nianbao_state <=", value, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateLike(String value) {
            addCriterion("nianbao_state like", value, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateNotLike(String value) {
            addCriterion("nianbao_state not like", value, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateIn(List<String> values) {
            addCriterion("nianbao_state in", values, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateNotIn(List<String> values) {
            addCriterion("nianbao_state not in", values, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateBetween(String value1, String value2) {
            addCriterion("nianbao_state between", value1, value2, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andNianbaoStateNotBetween(String value1, String value2) {
            addCriterion("nianbao_state not between", value1, value2, "nianbaoState");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Long value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Long value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Long value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Long value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Long> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Long> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Long value1, Long value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIsNull() {
            addCriterion("gmt_modify is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIsNotNull() {
            addCriterion("gmt_modify is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyEqualTo(Date value) {
            addCriterion("gmt_modify =", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotEqualTo(Date value) {
            addCriterion("gmt_modify <>", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyGreaterThan(Date value) {
            addCriterion("gmt_modify >", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modify >=", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyLessThan(Date value) {
            addCriterion("gmt_modify <", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modify <=", value, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyIn(List<Date> values) {
            addCriterion("gmt_modify in", values, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotIn(List<Date> values) {
            addCriterion("gmt_modify not in", values, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyBetween(Date value1, Date value2) {
            addCriterion("gmt_modify between", value1, value2, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andGmtModifyNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modify not between", value1, value2, "gmtModify");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAttributeIsNull() {
            addCriterion("attribute is null");
            return (Criteria) this;
        }

        public Criteria andAttributeIsNotNull() {
            addCriterion("attribute is not null");
            return (Criteria) this;
        }

        public Criteria andAttributeEqualTo(String value) {
            addCriterion("attribute =", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotEqualTo(String value) {
            addCriterion("attribute <>", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeGreaterThan(String value) {
            addCriterion("attribute >", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeGreaterThanOrEqualTo(String value) {
            addCriterion("attribute >=", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeLessThan(String value) {
            addCriterion("attribute <", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeLessThanOrEqualTo(String value) {
            addCriterion("attribute <=", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeLike(String value) {
            addCriterion("attribute like", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotLike(String value) {
            addCriterion("attribute not like", value, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeIn(List<String> values) {
            addCriterion("attribute in", values, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotIn(List<String> values) {
            addCriterion("attribute not in", values, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeBetween(String value1, String value2) {
            addCriterion("attribute between", value1, value2, "attribute");
            return (Criteria) this;
        }

        public Criteria andAttributeNotBetween(String value1, String value2) {
            addCriterion("attribute not between", value1, value2, "attribute");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIsNull() {
            addCriterion("comm_only_key is null");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIsNotNull() {
            addCriterion("comm_only_key is not null");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyEqualTo(Integer value) {
            addCriterion("comm_only_key =", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotEqualTo(Integer value) {
            addCriterion("comm_only_key <>", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyGreaterThan(Integer value) {
            addCriterion("comm_only_key >", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyGreaterThanOrEqualTo(Integer value) {
            addCriterion("comm_only_key >=", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyLessThan(Integer value) {
            addCriterion("comm_only_key <", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyLessThanOrEqualTo(Integer value) {
            addCriterion("comm_only_key <=", value, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyIn(List<Integer> values) {
            addCriterion("comm_only_key in", values, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotIn(List<Integer> values) {
            addCriterion("comm_only_key not in", values, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyBetween(Integer value1, Integer value2) {
            addCriterion("comm_only_key between", value1, value2, "commOnlyKey");
            return (Criteria) this;
        }

        public Criteria andCommOnlyKeyNotBetween(Integer value1, Integer value2) {
            addCriterion("comm_only_key not between", value1, value2, "commOnlyKey");
            return (Criteria) this;
        }
    }

    /* @mbggenerated */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 对应数据库表 eshop_company
     *
     * @mbggenerated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}